-- card: 4405 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2795 -- name: CheckMenu -- part 1 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=315 top=307 right=329 bottom=379 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Demo ----- HyperTalk script ----- on mouseUp push this card visual effect iris open go to card id 10546 end mouseUp -- part contents for background part 20 ----- text ----- 4 -- part contents for background part 1 ----- text ----- XCMD -- part contents for background part 22 ----- text ----- CheckMenu menuNumber, itemNumber, TRUE/FALSE -- part contents for background part 13 ----- text ----- CheckMenu is an XCMD that lets you add and remove check marks for items in menus you've created using the NewMenu XFCN. Examples: CheckMenu myMenu, 2, TRUE CheckMenu myMenu, 3, (the userLevel>2) The first example will place a check mark next to the second menu item in menu "myMenu". The second example will place a check mark next to the third item in "myMenu" IF the userLevel is greater than 2. The menu number you provide to to CheckMenu should be the same number that was returned by NewMenu.